﻿@model MvcCmsOptIn.Models.OptInModel

@section HtmlHead{
    <link href="@Url.Content("/RazorThemes/" + Model._Portal.SkinName + "/css/optin.css")" rel="stylesheet" type="text/css" />
}
<div class="contentpage-outerdiv">
    <div id="container">
        <div class="breadcrumb">
                <span><a href="/optin-manager">Main Menu</a></span><span>» </span><span>Tracking Links for Newsletter @Model._NewsLetter.Name</span>
        </div>
        <table cellspacing="0" cellpadding="5" border="0">
        <tr>
            <td colspan="2" class="toolbar">
                [ <a href="/optin-manager/addtrackinglink/@Model._NewsLetter.NewsLetterID">Add</a> ]
                [ <a href="/optin-manager/editnewsletter/@Model._NewsLetter.NewsLetterID">Back to newsletter</a> ]
            </td>
        </tr>
        </table>
        <div >
        @foreach (var link in Model._TrackingLinks)
        {
            @Html.ActionLink(link.Name, "EditTrackingLink", new { id = link.LinkTrackingID })
            <br />
        }
        </div>
    </div>
</div>
@section SideBar{
}
